package com.sunrise.comunicacao.servico;

import java.util.Collection;

import javax.annotation.Resource;

import lombok.Getter;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sunrise.comunicacao.repositorio.iface.BlackListDao;
import com.sunrise.generico.entidade.BlackList;
import com.sunrise.generico.visao.Filtro;

@Service
@Transactional(readOnly = true)
public class ManterBlackListService {

	@Resource(name = "blackListDaoImpl")
	@Getter
	private BlackListDao blackListDAO;

	public Collection<BlackList> buscarPorFiltros(Filtro blackList){
		return getBlackListDAO().buscarPorFiltros(blackList);
	}

}